﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

public static class XHtmlHelper
{
    public static MvcHtmlString Button(this HtmlHelper helper,
        String text = "Submit")
    {
        var tag = new TagBuilder("button");
        tag.InnerHtml = text;
        return MvcHtmlString.Create(tag.ToString());
    }
}